package com.kinglone.back.user.model;

import java.util.List;

import com.kinglone.back.permission.model.Permission;

public class User {
    private String id; //id
    private String username;//用户名
    private String password;//密码
    
    private List<Permission> menus;// 菜单
  
    public User() {}

	public User(String id, String username, String password,
			List<Permission> menus) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.menus = menus;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<Permission> getMenus() {
		return menus;
	}

	public void setMenus(List<Permission> menus) {
		this.menus = menus;
	}
	
	
}